package com.xmy.erp.entity;

import com.baomidou.mybatisplus.annotation.TableName;
import java.io.Serializable;
import java.time.LocalDate;
import java.time.LocalDateTime;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;

/**
 * <p>
 * 招生战队成员
 * </p>
 *
 * @author hpiggy
 * @since 2023-09-09
 */
@TableName("enroll_team_member")
@ApiModel(value = "EnrollTeamMember对象", description = "招生战队成员")
public class EnrollTeamMember implements Serializable {

    private static final long serialVersionUID = 1L;

    private Long id;

    private Long teamId;

    private Long teacherId;

    @ApiModelProperty("开始日期")
    private LocalDate startDate;

    @ApiModelProperty("结束日期")
    private LocalDate endDate;

    @ApiModelProperty("是否队长")
    private Long isCaptain;

    @ApiModelProperty("个人目标")
    private Integer goalNum;

    @ApiModelProperty("突破目标")
    private Integer breachNum;

    @ApiModelProperty("0表示移出战队，1目前在战队")
    private Integer status;

    private Integer deleted;

    private LocalDateTime createdAt;

    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }
    public Long getTeamId() {
        return teamId;
    }

    public void setTeamId(Long teamId) {
        this.teamId = teamId;
    }
    public Long getTeacherId() {
        return teacherId;
    }

    public void setTeacherId(Long teacherId) {
        this.teacherId = teacherId;
    }
    public LocalDate getStartDate() {
        return startDate;
    }

    public void setStartDate(LocalDate startDate) {
        this.startDate = startDate;
    }
    public LocalDate getEndDate() {
        return endDate;
    }

    public void setEndDate(LocalDate endDate) {
        this.endDate = endDate;
    }
    public Long getIsCaptain() {
        return isCaptain;
    }

    public void setIsCaptain(Long isCaptain) {
        this.isCaptain = isCaptain;
    }
    public Integer getGoalNum() {
        return goalNum;
    }

    public void setGoalNum(Integer goalNum) {
        this.goalNum = goalNum;
    }
    public Integer getBreachNum() {
        return breachNum;
    }

    public void setBreachNum(Integer breachNum) {
        this.breachNum = breachNum;
    }
    public Integer getStatus() {
        return status;
    }

    public void setStatus(Integer status) {
        this.status = status;
    }
    public Integer getDeleted() {
        return deleted;
    }

    public void setDeleted(Integer deleted) {
        this.deleted = deleted;
    }
    public LocalDateTime getCreatedAt() {
        return createdAt;
    }

    public void setCreatedAt(LocalDateTime createdAt) {
        this.createdAt = createdAt;
    }

    @Override
    public String toString() {
        return "EnrollTeamMember{" +
            "id=" + id +
            ", teamId=" + teamId +
            ", teacherId=" + teacherId +
            ", startDate=" + startDate +
            ", endDate=" + endDate +
            ", isCaptain=" + isCaptain +
            ", goalNum=" + goalNum +
            ", breachNum=" + breachNum +
            ", status=" + status +
            ", deleted=" + deleted +
            ", createdAt=" + createdAt +
        "}";
    }
}
